oracle.pg.common

## Interface DataLoaderListener

- All Superinterfaces:
    ProgressListener
  All Known Implementing Classes:
    SimpleLogBasedDataLoaderListenerImpl

      public interface DataLoaderListener
      extends ProgressListener

  This interface defines a few core APIs to that can be used to report progress of a data loading process.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `continueOnError(long errs, long progress, Object offender, String mesg)` Returns true if the data loading is to be continued upon encountering this error.

    - ### Methods inherited from interface oracle.pg.common.ProgressListener

      `progressTo, reportProgressFrequency`

- - ### Method Detail

    - #### continueOnError

          boolean continueOnError(long errs,
                                long progress,
                                Object offender,
                                String mesg)

      Returns true if the data loading is to be continued upon encountering this error. Data loading is supposed to be interrupted if this method returns false
      Parameters:
        `errs` - number of errors encountered so far.
        `progress` - a long value indicating the current progress. It must be a positive integer.
        `offender` - the object value that triggers an error condition
        `mesg` - an optional string value describing the current progress and error condition.

Copyright © 2015 Oracle and/or its affiliates. All Rights Reserved.